package com.rbs.mapper;

import com.rbs.entity.Order;

import java.util.List;

public interface OrderMapper {
    void insertOrder(Order order);

    //查询当前用户下的所有订单
    List<Order> selectByUserId(int userId);

    void orderPayed(int orderId);
}
